home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wild Blue Yonder 1: 50 Years of Gs & Jets
/
Wild Blue Yonder - Episode 1 - 50 Years of Gs and Jets (Digital Ranch) (Spectrum Holobyte)(1-107-40-101)(1994).iso
/
control
/
panel.dir
/
00722_Script_722
< prev
next >
Wrap
Text File
|
1994-08-29
|
599b
|
23 lines
on executeButton buttonNum
global button, CDroot, landingLength, landingSound, machine
set buttonCast = the number of cast "button zone" + buttonNum
set the castNum of sprite button = buttonCast
updateStage
set buttonName = the name of cast buttonCast
if buttonName <> "quit" then
clearLocalSprites
go to frame string( machine & buttonName )
else
stopAmbience
set the volume of sound 1 = 255
sound playFile landingChannel, CDroot & landingSound
repeat while soundBusy( 1 )
end repeat
quit
end if
end executeButton